package com.todo.demo.Service;

import com.todo.demo.Model.MsgLog;
import com.todo.demo.Model.Plan;
import com.todo.demo.Model.Task;
import com.todo.demo.Model.UserWithPlan;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service(value = "webService")
public interface WebService {
    List<UserWithPlan>  getAllPlan(int pageNum, int pageSize);
    List<UserWithPlan>  findhuoyuePlan(int pageNum, int pageSize);
    List<Task>  getTaskByPlanId(long planId);
    Long  findAllPlanCount();
    Long  findhuoyuePlanCount();
    List<MsgLog>  getMsgLog(int pageNum, int pageSize);
    long getMsgLogCount();
}